package com.ruoyi.system.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.system.mapper.Student3Mapper;
import com.ruoyi.system.domain.Student3;
import com.ruoyi.system.service.IStudent3Service;

/**
 * 学生表3Service业务层处理
 * 
 * @author ruoyi
 * @date 2025-02-13
 */
@Service
public class Student3ServiceImpl implements IStudent3Service 
{
    @Autowired
    private Student3Mapper student3Mapper;

    /**
     * 查询学生表3
     * 
     * @param id 学生表3主键
     * @return 学生表3
     */
    @Override
    public Student3 selectStudent3ById(Long id)
    {
        return student3Mapper.selectStudent3ById(id);
    }

    /**
     * 查询学生表3列表
     * 
     * @param student3 学生表3
     * @return 学生表3
     */
    @Override
    public List<Student3> selectStudent3List(Student3 student3)
    {
        return student3Mapper.selectStudent3List(student3);
    }

    /**
     * 新增学生表3
     * 
     * @param student3 学生表3
     * @return 结果
     */
    @Override
    public int insertStudent3(Student3 student3)
    {
        return student3Mapper.insertStudent3(student3);
    }

    /**
     * 修改学生表3
     * 
     * @param student3 学生表3
     * @return 结果
     */
    @Override
    public int updateStudent3(Student3 student3)
    {
        return student3Mapper.updateStudent3(student3);
    }

    /**
     * 批量删除学生表3
     * 
     * @param ids 需要删除的学生表3主键
     * @return 结果
     */
    @Override
    public int deleteStudent3ByIds(Long[] ids)
    {
        return student3Mapper.deleteStudent3ByIds(ids);
    }

    /**
     * 删除学生表3信息
     * 
     * @param id 学生表3主键
     * @return 结果
     */
    @Override
    public int deleteStudent3ById(Long id)
    {
        return student3Mapper.deleteStudent3ById(id);
    }
}
